|
|
|
|
BackColor Property, ColumnClass Class |
Defines the column's default background color for cells in the item area that are not selected.
Syntax ColumnClass Class (Softelvdm.SftTreeNET)
VB |
Public Property BackColor As Color |
C# |
public Color BackColor { get; set; } |
C++ |
public: property Color BackColor { |
Property Value
The default background color for cells in this column or Color.Empty.
The default value is Color.Empty.
Comments
The BackColor property defines the column's default background color for cells in the item area that are not selected.
Items and cells can override the background color using the ItemClass.BackColor and CellBaseClass.BackColor properties.
If Color.Empty is specified, cells use the default color defined using the control's BackColor property instead, row headers use the RowHeaders.BackColor property, column headers use the Headers.BackColor property and column footers use the Footers.BackColor property.
Selected cells may use the colors defined using the BackColorSelected property instead. If a selected cell uses a selection style (SelectionHighlightStyle property) that uses the ColumnClass.BackColorSelected property for only portions of the cell, the ColumnClass.BackColor property is used for the remainder of the cell.
Depending on the defined cell background (CellBaseClass.Appearance), the defined color may have no effect.